# break: 立即结束break所在的循环
# break某一条件满足的时候，就退出循环，只针对当前循环有效
a = 1
while a < 5:
    print(a)
    if a == 2:
      print('哈哈哈')
      break
    a += 1

for i in range(1,5):
    print(i)
    if i == 3:
        print('嘻嘻嘻')
        break
